package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.Receivable;
import com.ruoyi.system.domain.vo.ReceivableVo;

/**
 * 应收款Service接口
 * 
 * @author ruoyi
 * @date 2025-02-18
 */
public interface IReceivableService 
{
    /**
     * 查询应收款
     * 
     * @param id 应收款主键
     * @return 应收款
     */
    public Receivable selectReceivableById(Long id);

    /**
     * 查询应收款列表
     * 
     * @param receivable 应收款
     * @return 应收款集合
     */
    public List<ReceivableVo> selectReceivableList(Receivable receivable);

    /**
     * 新增应收款
     * 
     * @param receivable 应收款
     * @return 结果
     */
    public int insertReceivable(Receivable receivable);

    /**
     * 修改应收款
     * 
     * @param receivable 应收款
     * @return 结果
     */
    public int updateReceivable(Receivable receivable);

    /**
     * 批量删除应收款
     * 
     * @param ids 需要删除的应收款主键集合
     * @return 结果
     */
    public int deleteReceivableByIds(Long[] ids);

    /**
     * 删除应收款信息
     * 
     * @param id 应收款主键
     * @return 结果
     */
    public int deleteReceivableById(Long id);
}
